package com.lz.yz.empowerment.model;

import com.lz.yz.member.entity.Lable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Comparator;
import java.util.Date;
import java.util.List;

/**
 *
 *
 * @author lixianyi
 * @create 2017-11-09 10:36
 **/
@ApiModel(value = "QuestionModel", description = "赋能实体对象")
public class QuestionModel  {

    private Integer id;

    /**
     * 发表人
     */
    @ApiModelProperty(value = "发表人ID")
    private Integer accountId;

    /**
     * 标签id
     */
    @ApiModelProperty(value = "标签id")
    private String labelIds;


    /**
     * 标签名
     */
    @ApiModelProperty(value = "标签名")
    private String lableName;

    /**
     * 分类id
     */
    @ApiModelProperty(value = "分类id")
    private Integer domainId;

    /**
     * 分类名
     */
    @ApiModelProperty(value = "分类名")
    private String domainName;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 介绍
     */
    @ApiModelProperty(value = "介绍")
    private String introduction;

    /**
     * 语音文件路径
     */
    @ApiModelProperty(value = "语音文件路径")
    private String voiceFilePath;

    /**
     * 附件文件路径
     */
    @ApiModelProperty(value = "附件文件路径")
    private String attFilePath;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private String content;

    /**
     * 悬赏的价格
     */
    @ApiModelProperty(value = "悬赏的价格")
    private BigDecimal price;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "同步时间")
    private Date synchronizeAt;


    /**
     * 标签集合
     */
    @ApiModelProperty(value = "标签集合")
    private List<Lable> labelsList;//标签集合

    /**
     * 同步剩余时间
     */
    private Integer hour;


    /**
     * 同步ID
     */
    private String  questionTbId;



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }


    public String getLableName() {
        return lableName;
    }

    public void setLableName(String lableName) {
        this.lableName = lableName;
    }

    public Integer getDomainId() {
        return domainId;
    }

    public void setDomainId(Integer domainId) {
        this.domainId = domainId;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getVoiceFilePath() {
        return voiceFilePath;
    }

    public void setVoiceFilePath(String voiceFilePath) {
        this.voiceFilePath = voiceFilePath;
    }

    public String getAttFilePath() {
        return attFilePath;
    }

    public void setAttFilePath(String attFilePath) {
        this.attFilePath = attFilePath;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }



    public Date getSynchronizeAt() {
        return synchronizeAt;
    }

    public void setSynchronizeAt(Date synchronizeAt) {
        this.synchronizeAt = synchronizeAt;
    }

    public Integer getHour() {
        return hour;
    }

    public void setHour(Integer hour) {
        this.hour = hour;
    }

    public String getQuestionTbId() {
        return questionTbId;
    }

    public void setQuestionTbId(String questionTbId) {
        this.questionTbId = questionTbId;
    }

    public String getLabelIds() {
        return labelIds;
    }

    public void setLabelIds(String labelIds) {
        this.labelIds = labelIds;
    }

    public List<Lable> getLabelsList() {
        return labelsList;
    }

    public void setLabelsList(List<Lable> labelsList) {
        this.labelsList = labelsList;
    }
}
